From: Jan Djärv Date: Tue, 8 Jun 2004 17:53:11 +0000 (+0000) Subject: Better documentation. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~22088 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=024315ea2dbb7fd62619bffbd12458fb92e09189;p=emacs.git Better documentation. --- diff --git a/lisp/toolbar/tool-bar.el b/lisp/toolbar/tool-bar.el index 7ded78b80e1..27706f0d725 100644 --- a/lisp/toolbar/tool-bar.el +++ b/lisp/toolbar/tool-bar.el @@ -96,7 +96,8 @@ PROPS are additional items to add to the menu item specification. See Info node `(elisp)Tool Bar'. Items are added from left to right. ICON is the base name of a file containing the image to use. The -function will first try to use ICON.xpm, then ICON.pbm, and finally +function will first try to use ICON-locol.xpm if display-color-cells +is less or equal to 256, then ICON.xpm, then ICON.pbm, and finally ICON.xbm, using `find-image'. Use this function only to make bindings in the global value of `tool-bar-map'. @@ -112,7 +113,8 @@ PROPS are additional items to add to the menu item specification. See Info node `(elisp)Tool Bar'. Items are added from left to right. ICON is the base name of a file containing the image to use. The -function will first try to use ICON.xpm, then ICON.pbm, and finally +function will first try to use ICON-locol.xpm if display-color-cells +is less or equal to 256, then ICON.xpm, then ICON.pbm, and finally ICON.xbm, using `find-image'." (let* ((fg (face-attribute 'tool-bar :foreground)) (bg (face-attribute 'tool-bar :background))